include_directories (${LIBAESDP_SOURCE_DIR}/aesdp)
link_directories (${LIBAESDP_BINARY_DIR}/aesdp)

add_executable (test_sdp test_sdp.c) 
target_link_libraries (test_sdp libaesdp)

#testing
set(TEST_FILES
	test_files/regular_sdp_1.txt
	test_files/regular_sdp_2.txt
	test_files/rfc4317_1.txt
	test_files/rfc4317_2.txt
	test_files/rfc4317_3.txt
	test_files/rfc4317_4.txt
	test_files/rfc4317_5.txt
	test_files/rfc4317_6.txt
	test_files/rfc4317_7.txt
	test_files/rfc4317_8.txt
	test_files/rfc4317_9.txt
	test_files/rfc4317_10.txt
	test_files/rfc4317_11.txt
	test_files/rfc4317_12.txt
	test_files/rfc4317_13.txt
	test_files/rfc4317_14.txt
	test_files/rfc4317_15.txt
	test_files/rfc4317_16.txt
	test_files/rfc4317_17.txt
	test_files/rfc4317_18.txt
)
file(COPY ${TEST_FILES} DESTINATION test_files)

# add tests
foreach(f ${TEST_FILES})
	ADD_TEST(${f} test_sdp.exe ${f})
endforeach(f) 